//获取应用实例
import * as Api from '../../utils/api.js'
var app = getApp()
Page({
    data: {
      total: 0,
      name: ''
    },
    onLoad: function(options) {
      console.log(app.globalData)
      this.setData({
        total: options.total,
        name: app.globalData.merchant.companyName
      })
    },
    goBack() {
      wx.navigateBack({
        delta: 1
      })
    }
  
})
